package net.sudot.chess.business.service;

import net.sudot.chess.business.dao.RechargeConfigDao;
import net.sudot.chess.business.model.RechargeConfig;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 充值配置
 *
 * @author tangjialin on 2018-03-17.
 */
@Service
public class RechargeConfigService extends BaseService<RechargeConfig> {

    @Resource
    private RechargeConfigDao rechargeConfigDao;

    /**
     * 获取所有充值配置
     *
     * @return 返回配置集合
     */
    public List<RechargeConfig> findAll() {
        return rechargeConfigDao.findAll();
    }

}
